﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true"
    CodeBehind="desclr.aspx.cs" Inherits="Jxym.wlkc2011.desclr" %>

<%@ Register Src="contentType.ascx" TagName="contentType" TagPrefix="uc1" %>
<%@ Register Src="zjgx.ascx" TagName="zjgx" TagPrefix="uc2" %>
<%@ Register Src="xgzy.ascx" TagName="xgzy" TagPrefix="uc3" %>
<%@ Register Src="xyjs.ascx" TagName="xyjs" TagPrefix="uc4" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="InfoBox.ascx" TagName="InfoBox" TagPrefix="uc5" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        #ctl00_CBODY_Panel1 ul li { border-bottom: 1px dashed #efefef; }
        #ctl00_CBODY_Panel1 .paginator { margin-top: 15px; line-height: 36px; text-align: center; }
        #ctl00_CBODY_Panel1 .paginator a, .paginator span { padding: 4px 8px; border: 1px solid #369; background-color: #fff; color: #369; margin-right: 3px; }
        #ctl00_CBODY_Panel1 .paginator a:hover { border: 1px solid #147; background-color: #963; color: #333; }
        #ctl00_CBODY_Panel1 .paginator a[disabled], .paginator a[disabled]:hover { border: 1px solid #CCC; background-color: #fff; color: #369; }
        #ctl00_CBODY_Panel1 .paginator .cpb { border: 1px solid #000; color: #fff; background-color: #369; }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CBODY" runat="server">
    <h1 class="main_title">
        <span class="h1_l"></span><span class="h1_c">
            <%=ClassTitle%></span><span class="h1_r"></span>
    </h1>
    <div class="main_list main_listAnnouncement">
        <asp:Panel ID="Panel1" runat="server" Visible="false">
            <ul>
                <asp:Repeater ID="Repeater1" runat="server">
                    <ItemTemplate>
                        <li><b>[<%#String.Format("{0:yyyy/MM/dd}",Eval("AddTime"))%>] </b><a href='<%=sitename%>_m<%=classId%>_c<%#Eval("ID")%>.xhtml'
                            title='<%#Eval("Title")%>'><span>
                                <%#Eval("Title")%>
                                <%if (index == 0)
                                  { %>
                                <em class="new">&nbsp;</em>
                                <%} %>
                                <%index++;%>
                            </span></a></li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
            <div class="clear">
            </div>
            <webdiyer:AspNetPager ID="AspNetPager1" CssClass="paginator" CurrentPageButtonClass="cpb"
                runat="server" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PageSize="5"
                PrevPageText="上一页" showinputbox="Never" OnPageChanged="AspNetPager1_PageChanged"
                CustomInfoTextAlign="Left" LayoutType="Div" CurrentPageButtonPosition="Center"
                PageIndexBoxType="TextBox" ShowPageIndexBox="Auto" SubmitButtonText="Go" TextAfterPageIndexBox="页"
                TextBeforePageIndexBox="转到" CustomInfoHTML="第%CurrentPageIndex%页，共%PageCount%页，每页%PageSize%条"
                UrlPaging="True" CustomInfoClass="">
            </webdiyer:AspNetPager>
        </asp:Panel>
        <asp:Panel ID="Panel2" runat="server" Visible="false">
            <h1 class="title">
                <%=ContentTitle%></h1>
            <h2 class="title">
                <%=ContentTitle2%></h2>
            <div class="text">
                <%=ContentHtml%>
            </div>
        </asp:Panel>
    </div>
</asp:Content>
